package aga.spring;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Starter {
	private static final Logger log = Logger.getLogger(Starter.class);

	public static void main(String[] args) throws Exception {
		ApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"spring-context.xml"});
		log.info("Client started");
		
		ServiceClient client = context.getBean(ServiceClient.class);
		client.test("qqq");
	}
}
